package com.feige.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.feige.pojo.ExerciseTitle;
import com.feige.pojo.vo.ExerciseTitleVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 习题标题 Mapper 接口
 * </p>
 *
 * @author feige
 * @since 2021-04-01
 */
@Repository
public interface ExerciseTitleMapper extends BaseMapper<ExerciseTitle> {

    /**
     * 查询exerciseTitle
     * @param page 分页
     * @param courseId 课程ID
     * @param userId 用户ID
     * @return
     */
    IPage<ExerciseTitleVo> getExerciseTitleVo(@Param("page")IPage<ExerciseTitleVo> page,@Param("courseId") String courseId,@Param("userId") String userId);
}
